﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using makeSqr;
using MathWorks.MATLAB.NET.Arrays;
using MathWorks.MATLAB.NET.Utility;


namespace MainApp
{
    class Program
    {
        static void Main(string[] args)
        {
            MLTestClass obj = null;
            MWNumericArray input = null;
            MWNumericArray output = null;
            MWArray[] result = null;


            try
            {
                obj = new MLTestClass();

                input = 5; //new MWNumericArray(5);

                result = obj.makesquare(1, input);


                output = (MWNumericArray)result[0];
                Console.WriteLine(output);
                Console.ReadLine();
            }
           
            catch (Exception)
            {
                throw;
            }
            
        }
    }

}
